﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;

namespace RegisterApp.Domain.Entities
{
    public class Comment
    {
        [Key,DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int CommentId { get; set; }
        public string CommentString { get; set; }


       /* [ForeignKey("PlayerId")]
        public Player Player { get; set; }
        public int PlayerId { get; set; }

        [ForeignKey("MatchId")]
        [Required]
        public Match Match { get; set; }
        public int MatchId { get; set; }*/

        public virtual Player Player { get; set; }
        public virtual Match Match { get; set; }
    }
}